import React from 'react'
import ReactDOM from 'react-dom'
import { Provider } from 'react-redux'
import { ConfigProvider } from 'antd'
import App from './components/app'
import store from './store/store'

class UserIndex extends React.PureComponent {

  render () {
    return (
      <Provider store={store}>
        <App/>
      </Provider>
    )
  }
}

ReactDOM.render(
  <ConfigProvider>
    <UserIndex/>
  </ConfigProvider>,
  document.getElementById('root')
)
